package com.qf.hospital.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author zjw
 * @description 角色模块展示全部角色信息
 * @date 2021/10/18 16:51
 */
public class SysRoleVO {

    /**
     * 角色id
     */
    @JsonProperty(value = "roleid")
    private Integer roleId;

    /**
     *
     * 角色名称
     */
    @JsonProperty(value = "rolename")
    private String roleName;

    /**
     * 角色描述
     */
    @JsonProperty(value = "roledesc")
    private String roleDesc;

    /**
     * 0 - 不生效,1 - 生效
     */
    private Integer available;

    @Override
    public String toString() {
        return "SysRoleVO{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleDesc='" + roleDesc + '\'' +
                ", available=" + available +
                '}';
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }
}
